Skip to content

update compiler directives page of FSharp reference #47130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 29, 2025

Conversation

Martin521
Copy link
Contributor

@Martin521 Martin521 commented Jul 8, 2025

This PR updates the compiler directives page of the FSharp reference according to RFC FS-1146 (scoped nowarn) that was implemented for FSharp 10 here.

Also, the section on conditional directives is updated according this speclet that was implemented for F# 4.0 ten years ago but never found its way into the reference.

/cc @T-Gro


Internal previews

📄 File 🔗 Preview link
docs/fsharp/language-reference/compiler-directives.md docs/fsharp/language-reference/compiler-directives

and  for extended if grammar
@Martin521 Martin521 requested review from BillWagner and a team as code owners July 8, 2025 13:10
@dotnetrepoman dotnetrepoman bot added this to the July 2025 milestone Jul 8, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-fsharp/svc community-contribution Indicates PR is created by someone from the .NET community. labels Jul 8, 2025
@Martin521 Martin521 requested a review from T-Gro July 12, 2025 17:38
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Martin521

This LGTM, and I'll :shipit: now.

@BillWagner BillWagner merged commit 3b21ced into dotnet:main Jul 29, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-fsharp/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants